package com.dcloud.manage.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.dcloud.manage.service.entity.CollectTask;
import com.dcloud.manage.service.entity.CollectTaskSql;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel(value="任务对象", description="任务对象")
public class CollectTaskSqlVO extends CollectTask {
    /**主键*/
    @Excel(name = "主键", width = 15)
    @ApiModelProperty(value = "主键")
    private Integer taskSqlTid;
    /**任务主键*/
    @Excel(name = "任务主键", width = 15)
    @ApiModelProperty(value = "任务主键")
    private Integer taskTid;
    /**任务查询的sql*/
    @Excel(name = "任务查询的sql", width = 15)
    @ApiModelProperty(value = "任务查询的sql")
    private String taskSql;
    /**sql关联的数据源*/
    @Excel(name = "sql关联的数据源id", width = 15)
    @ApiModelProperty(value = "sql关联的数据源id")
    private Integer sourceId;

    @Excel(name = "sql关联的数据源", width = 15)
    @ApiModelProperty(value = "sql关联的数据源")
    private String sourceName;
    /**同步方式全量还是增量 （0全量  1增量）*/
    @Excel(name = "同步方式全量还是增量 （0全量  1增量）", width = 15)
    @ApiModelProperty(value = "同步方式全量还是增量 （0全量  1增量）")
    private String syncType;
    /**增量字段*/
    @Excel(name = "增量字段", width = 15)
    @ApiModelProperty(value = "增量字段")
    private String incrementField;
    /**增量扩展时间*/
    @Excel(name = "增量扩展时间", width = 15)
    @ApiModelProperty(value = "增量扩展时间")
    private Integer extraDur;
    /**添加方式(insert,replace)*/
    @Excel(name = "添加方式(insert,replace)", width = 15)
    @ApiModelProperty(value = "添加方式(insert,replace)")
    private String appendType;

}
